<template>
	<view class="sys_messageCell">
		<view class="main">
			<view style="font-size: 34rpx;color: #333;margin-bottom: 14rpx;display: flex;flex-direction: row;align-items: center;justify-content: space-between;">
				<view class="">{{item.title}}</view>
				<view style="color: #999;font-size: 26rpx;">{{$time.dateFormat('yyyy-mm-dd HH:MM', item.createTime)}}</view>
			</view>
			<view style="font-size: 28rpx;">{{item.content}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			item: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
			}
		},
		methods:{
			formatTime(time){
				return this.$time.formatTime(time)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.sys_messageCell{
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 20rpx;
		.time{
			margin-top: 30rpx;
			font-size: 24rpx;
			color: #999999;
		}
		.main{
			margin-top: 30rpx;
			width: 630rpx;
			background-color: #FFFFFF;
			padding: 30rpx;
			border-radius: 16rpx;
			color: #999999;
		}
	}
</style>
